package office.action.hr.wrapper;

public class OfficesuppliesEntryWrapper {

	private String id;
	private String entryUser;			//申请人
	private String officesuppliesId;	//办公用品id
	private double entryNum;			//申请数量
	private String entryDate;			//申请日期
	private String descriprtion;		//描述
	private String state;				//状态
	
	private String officesuppliesName;	//办公用品名称
	private String officesuppliesType;	//办公用品类别
	private String officesuppliesUnit;	//办公用品单位
	private String entryUserName;
	
	public OfficesuppliesEntryWrapper(){
		
	}
	
	public OfficesuppliesEntryWrapper(String entryUserName,String entryUser,String id,String officesuppliesId
			,double entryNum,String entryDate,String descriprtion,String state,String officesuppliesName,
			String officesuppliesType,String officesuppliesUnit){
		this.entryUserName = entryUserName;//申请人
		this.entryUser = entryUser;//申请人id
		this.id = id;
		this.officesuppliesId = officesuppliesId;//办公用品id
		this.entryNum = entryNum;//申请数量
		this.entryDate = entryDate;//申请时间
		this.descriprtion = descriprtion;//描述
		if(state.equals("-1")){
			this.state = "申请已取消";
		}else if(state.equals("0")){
			this.state = "等待审批";
		}else if(state.equals("1")){
			this.state = "审批通过";
		}else if(state.equals("2")){
			this.state = "审批驳回";
		}
		//this.state = state;//申请状态
		this.officesuppliesName = officesuppliesName;//办公用品名称
		this.officesuppliesType = officesuppliesType;//办公用品类型
		this.officesuppliesUnit = officesuppliesUnit;//办公用品单位
	}
	
	public String getEntryUser() {
		return entryUser;
	}
	public void setEntryUser(String entryUser) {
		this.entryUser = entryUser;
	}
	public String getOfficesuppliesId() {
		return officesuppliesId;
	}
	public void setOfficesuppliesId(String officesuppliesId) {
		this.officesuppliesId = officesuppliesId;
	}
	public double getEntryNum() {
		return entryNum;
	}
	public void setEntryNum(double entryNum) {
		this.entryNum = entryNum;
	}
	public String getEntryDate() {
		return entryDate;
	}
	public void setEntryDate(String entryDate) {
		this.entryDate = entryDate;
	}
	public String getDescriprtion() {
		return descriprtion;
	}
	public void setDescriprtion(String descriprtion) {
		this.descriprtion = descriprtion;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getOfficesuppliesName() {
		return officesuppliesName;
	}
	public void setOfficesuppliesName(String officesuppliesName) {
		this.officesuppliesName = officesuppliesName;
	}
	public String getOfficesuppliesType() {
		return officesuppliesType;
	}
	public void setOfficesuppliesType(String officesuppliesType) {
		this.officesuppliesType = officesuppliesType;
	}
	public String getOfficesuppliesUnit() {
		return officesuppliesUnit;
	}
	public void setOfficesuppliesUnit(String officesuppliesUnit) {
		this.officesuppliesUnit = officesuppliesUnit;
	}

	public String getEntryUserName() {
		return entryUserName;
	}

	public void setEntryUserName(String entryUserName) {
		this.entryUserName = entryUserName;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
}
